package com.gimi.test_jpa.com.gimi.jpa.customer;

import com.gimi.test_jpa.com.gimi.entity.customer.CustomerEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;

public interface CustomerJpa extends JpaRepository<CustomerEntity,String> {

    CustomerEntity findByCusIdCard(@Param("idCard") String idCard);

    CustomerEntity queryByCusId(@Param("cusId") String cusId);



}
